<template>
  <div class="device-container">
    <!-- <div class="chart" id="chart_left2"> -->
    <div class="chartList">
      <div id="container1" class="cell">
        <totalNum />
      </div>
      <div id="container2" class="cell">
        <onlineNum />
      </div>
      <div id="container3" class="cell">
        <offlineNum />
      </div>
      <div id="container4" class="cell">
        <alarNum />
      </div>

    </div>
  </div>
</template>

<script>
export default {
  name: "device",
  components: {},
  data() {
    return {};
  },
  mounted() {},

  beforeDestroy() {},
};
</script>

<style lang="scss" scoped>
.device-container {
  .chartList {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .cell {
      // flex: 1;
      // float: left;
      width: 1.5rem;
      height: 3rem;
      border: 0px solid;
    }
  }
  .chartList:after {
    // 使用伪类元素占据单位，不影响页面
    content: "";
    width: 1.5rem;
    height: 0;
  }
}
</style>
